{
  "name": "Service Provisioning Demo",
  "tasks": {
    "workflow_start": {
      "name": "workflow_start",
      "groups": [],
      "x": 0.03662109375,
      "y": 0.33528836754643204
    },
    "workflow_end": {
      "name": "workflow_end",
      "groups": [],
      "x": 1.267650158061117,
      "y": 0.3519607843137255
    },
    "e5f6": {
      "name": "ViewTestService",
      "summary": "View Dry Run Results",
      "description": "View Dry Run Results",
      "location": "Application",
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "manual",
      "variables": {
        "incoming": {
          "dry_run_results": "$var.job.resultTestInstance"
        },
        "outgoing": {
          "dry_run_results": null
        },
        "error": ""
      },
      "view": "/service_management/task/ViewTestService",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.49365234375,
      "y": 0.3509286412512219,
      "scheduled": false
    },
    "f662": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "resultTestInstance",
          "value": {
            "device": {
              "name": "Demo-Device",
              "data": "\ninterface GigabitEthernet0/0\n description \"test description - READ-ONLY\"\n ip address\n switchport\n switchport trunk allowed vlan 5-9\nexit\n"
            },
            "success": true
          }
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.330930064888248,
      "y": 0.343567251461988
    },
    "fab8": {
      "name": "ShowFormByName",
      "summary": "Demo mode form",
      "description": "Read-Only",
      "location": "Application",
      "app": "FormBuilder",
      "displayName": "FormBuilder",
      "type": "manual",
      "variables": {
        "incoming": {
          "form_name": "Service Provisioning Form-Read-Only",
          "instance_data": {
            "/ncs:services/itential-demo-port-turn-up:port-turn-up": [
              {
                "device": "Demo-Device",
                "interface-type": "GigabitEthernet",
                "interface-id": "0/0",
                "description": "test description - READ-ONLY",
                "allowed-vlan": "5-10"
              }
            ]
          }
        },
        "outgoing": {
          "export": null
        },
        "error": ""
      },
      "view": "/formbuilder/task/ShowFormByName",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.172314347512617,
      "y": 0.339181286549708,
      "scheduled": false
    },
    "90f3": {
      "name": "ViewTestService",
      "summary": "View Dry Run Results",
      "description": "View Dry Run Results",
      "location": "Application",
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "manual",
      "variables": {
        "incoming": {
          "dry_run_results": "$var.job.resultTestInstance"
        },
        "outgoing": {
          "dry_run_results": null
        },
        "error": ""
      },
      "view": "/service_management/task/ViewTestService",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.98388671875,
      "y": 0.34408602150537637,
      "scheduled": false
    },
    "1cf0": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "resultTestInstance",
          "value": {
            "device": {
              "name": "Demo-Device",
              "data": "\ninterface GigabitEthernet0/0\n no description\n no ip address\n no switchport trunk allowed vlan 5-9\n no switchport\nexit\n"
            },
            "success": true
          }
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.8310546875,
      "y": 0.34506353861192574
    },
    "e764": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Reject notice",
      "description": "Reject notice",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Reject notice",
          "message": "",
          "body": "You've selected to reject the dry-run, and not to push any configuration to the device (in demo mode).<br>Please select to either <b>START OVER</b> with the flow or <b>TERMINATE</b> to terminate this workflow.",
          "btn_success": "START OVER",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewDat</span>a"
        }
      ],
      "groups": [],
      "x": 0.494140625,
      "y": 0.16911045943304007,
      "scheduled": false
    },
    "3c7a": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "outcome",
          "value": "failure"
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 1.1116965226554267,
      "y": 0.18235294117647058
    },
    "9c01": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Delete decision",
      "description": "Delete decision",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Decision Task to Delete Service Instance",
          "message": "",
          "body": "<b>DEMO MODE</b><br>Would you like to <b>DELETE</b> service instance , or <b>SKIP</b> deleting the instance?<br>Please notice that the service instances provisioned in this workflow are meant to be run against Cisco-IOS devices and will stay on device if you skip deleting the instance",
          "btn_success": "DELETE",
          "btn_failure": "SKIP"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewDat</span>a"
        }
      ],
      "groups": [],
      "x": 0.671875,
      "y": 0.3479960899315738,
      "scheduled": false
    },
    "1b76": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "outcome",
          "value": "success"
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.9857744994731296,
      "y": 0.5813725490196079
    },
    "dfb7": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Reject notice",
      "description": "Reject notice",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Reject notice",
          "message": "",
          "body": "You've selected to reject the dry-run, and not to push any configuration to the device (in demo mode).<br>Please select to either <b>REVIEW AGAIN</b> with the flow or <b>TERMINATE</b> to terminate this workflow.",
          "btn_success": "REVIEW AGAIN",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewDat</span>a"
        }
      ],
      "groups": [],
      "x": 1.112223393045311,
      "y": 0.3411764705882353,
      "scheduled": false
    }
  },
  "transitions": {
    "workflow_start": {
      "fab8": {
        "type": "standard",
        "state": "success"
      }
    },
    "workflow_end": {},
    "e5f6": {
      "e764": {
        "type": "standard",
        "state": "failure"
      },
      "9c01": {
        "type": "standard",
        "state": "success"
      }
    },
    "f662": {
      "e5f6": {
        "type": "standard",
        "state": "success"
      }
    },
    "fab8": {
      "f662": {
        "type": "standard",
        "state": "success"
      }
    },
    "90f3": {
      "dfb7": {
        "type": "standard",
        "state": "failure"
      },
      "1b76": {
        "type": "standard",
        "state": "success"
      }
    },
    "1cf0": {
      "90f3": {
        "type": "standard",
        "state": "success"
      }
    },
    "c39": {},
    "cc69": {},
    "2f0c": {},
    "e764": {
      "fab8": {
        "type": "revert",
        "state": "success"
      },
      "3c7a": {
        "type": "standard",
        "state": "failure"
      }
    },
    "3c7a": {
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "9c01": {
      "1cf0": {
        "type": "standard",
        "state": "success"
      },
      "1b76": {
        "type": "standard",
        "state": "failure"
      }
    },
    "1b76": {
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "dfb7": {
      "3c7a": {
        "type": "standard",
        "state": "failure"
      },
      "90f3": {
        "type": "revert",
        "state": "success"
      }
    }
  },
  "font_size": 12,
  "created": "2020-02-25T18:42:29.152Z",
  "created_by": {
    "provenance": "Local AAA",
    "username": "Itential Artifacts",
    "firstname": "admin",
    "inactive": true,
    "email": ""
  },
  "createdVersion": "5.5.9-2019.3.0.0",
  "groups": [],
  "last_updated": "2020-12-09T17:08:12.609Z",
  "last_updated_by": {
    "provenance": "Local AAA",
    "username": "admin@pronghorn",
    "firstname": "admin",
    "inactive": false,
    "email": ""
  },
  "lastUpdatedVersion": "5.10.4-2020.1.32.0",
  "type": "automation",
  "description": null,
  "tags": []
}
